/*
 * File:   NodeComparatorByIdentifier.java
 * Author: Oleg S. Estekhin
 */
package dht.emulator;

import java.io.Serializable;
import java.util.Comparator;

final class NodeComparatorByIdentifier implements Comparator<Node>, Serializable
{

    @Override
    public int compare(Node o1, Node o2)
    {
        return o1.getIdentifier().compareTo(o2.getIdentifier());
    }

}
